122. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2022-09-08 08:49:15 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

122.1 Files compared

#LocationFileLast Modified
1/Volumes/Data 1/Ampps/www/Porto v4.0.2/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Smartwave_Porto/templatescustom_block.phtml2021-06-12 08:01:12 +0000
2Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Smartwave_Porto/templatescustom_block.phtml2021-06-12 08:01:12 +0000

122.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged160
Changed00
Inserted00
Removed00

122.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

122.4 Active regular expressions

No regular expressions were active.

122.5 Comparison detail

1 <?php 1 <?php
2   $sidebar_sticky = $this->getConfig('porto_settings/general/sidebar_sticky'); 2   $sidebar_sticky = $this->getConfig('porto_settings/general/sidebar_sticky');
3   $block_view = $this->getConfig('porto_settings/general'); 3   $block_view = $this->getConfig('porto_settings/general');
4   $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block'); 4   $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block');
5   if($block) { 5   if($block) {
6       $block->setBlockId($block_view['sidebar_second_block']); 6       $block->setBlockId($block_view['sidebar_second_block']);
7   } 7   }
8   if($block){ ?> 8   if($block){ ?>
9     <div class="side-custom-block"> 9     <div class="side-custom-block">
10       <?php echo $block->toHtml(); ?> 10       <?php echo $block->toHtml(); ?>
11     </div> 11     </div>
12     <?php if($sidebar_sticky): ?> 12     <?php if($sidebar_sticky): ?>
13     <script type="text/javascript"> 13     <script type="text/javascript">
14     require([ 14     require([
15         'jquery', 15         'jquery',
16         'themeSticky' 16         'themeSticky'
17     ], function ($) { 17     ], function ($) {
18       $(".sidebar.sidebar-second .side-custom-block").themeSticky({ 18       $(".sidebar.sidebar-second .side-custom-block").themeSticky({
19         autoInit: true, 19         autoInit: true,
20         minWidth: 992, 20         minWidth: 992,
21         containerSelector: '.page-main .columns', 21         containerSelector: '.page-main .columns',
22         autoFit: true, 22         autoFit: true,
23         paddingOffsetBottom: 10, 23         paddingOffsetBottom: 10,
24         paddingOffsetTop: 60 24         paddingOffsetTop: 60
25       }); 25       });
26     }); 26     });
27     </script> 27     </script>
28     <?php endif; ?> 28     <?php endif; ?>
29   <?php } 29   <?php }
30 ?> 30 ?>